﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using IRCServer.Entities;
using IRC.Utilities;

namespace IRCServer
{
    class Program
    {
        static void Main(string[] args)
        {
            Logger.Instance.Verbose = true;
            int portNumber;
            if (args.Length == 0 || !int.TryParse(args[0], out portNumber))
                return;

            IRCServer server = new IRCServer(portNumber);
            server.Start();
        }
    }
}
